package cn.wolfcode.luowowo.article.mapper;

import cn.wolfcode.luowowo.acticle.domain.Answer;
import cn.wolfcode.luowowo.acticle.query.AnswerQuery;
import cn.wolfcode.luowowo.acticle.vo.AnswerStatisVO;

import java.util.List;

public interface AnswerMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Answer record);

    Answer selectByPrimaryKey(Long id);

    List<Answer> selectAll();

    int updateByPrimaryKey(Answer record);

    Answer selectByThumbupnum(Long id);

    List<Answer> selectByQueryId(AnswerQuery qo);

    void insertByAnswer(Answer answer);

    void updateStatisByVo(AnswerStatisVO vo1);
}